package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class FUsuarioBuscar extends org.apache.struts.action.ActionForm {
    
    
    public FUsuarioBuscar() {
        super();
        user_login = "";

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        user_login = "";

    }

    public static FUsuarioBuscar clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        FUsuarioBuscar fFUsuarioBuscar = (FUsuarioBuscar) sess.getAttribute("FUsuarioBuscar");
        if (fFUsuarioBuscar == null) {
            fFUsuarioBuscar = new FUsuarioBuscar();
            sess.setAttribute("FUsuarioBuscar", fFUsuarioBuscar);
        } else {
            fFUsuarioBuscar.reset(mapping, request);
        }
        return fFUsuarioBuscar;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

/**
     * Holds value of property user_login.
     */
    private String user_login;

    /**
     * Getter for property user_login.
     * @return Value of property user_login.
     */
    public String getUser_login() {
        return this.user_login;
    }

    /**
     * Setter for property user_login.
     * @param user_login New value of property user_login.
     */
    public void setUser_login(String user_login) {
        this.user_login = user_login;
    }




}